package entity;

public class SchoolClass {
    private int classId;
    private String className;
    private int teacherId; // 关联老师的用户ID

    public SchoolClass() {}

    public SchoolClass(int classId, String className, int teacherId) {
        this.classId = classId;
        this.className = className;
        this.teacherId = teacherId;
    }

    // Getter 和 Setter
    public int getClassId() { return classId; }
    public void setClassId(int classId) { this.classId = classId; }
    public String getClassName() { return className; }
    public void setClassName(String className) { this.className = className; }
    public int getTeacherId() { return teacherId; }
    public void setTeacherId(int teacherId) { this.teacherId = teacherId; }
}